﻿namespace MhAdmin.System;

/// <summary>
/// 用户自定义配置
/// </summary>
public interface IUserConfigService : ITransient
{
    #region 查询

    /// <summary>
    /// 获取用户列配置
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task<List<UserColumnConfigOutput>> GetColumnConfig(QueryUserColumnConfigInput input);

    #endregion 查询

    #region 编辑

    /// <summary>
    /// 编辑用户列配置
    /// </summary>
    /// <param name="update"></param>
    /// <returns></returns>
    Task UpdateColumnConfig(List<UpdateUserColumnConfigInput> update);

    #endregion 编辑

    /// <summary>
    /// 删除用户列配置
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task DeleteColumnConfig(List<BaseIdInput> input);
}